package com.mashibing.dp.factorymethod;

/**
 * @author: Shelly
 * @create: 2023-01-11 09:03:00
 * @describe: 飞机工厂
 */
public class PlaneFactory implements VehicleFactory {
    @Override
    public Moveable create() {
        System.out.println("a plane created!");
        return new Plane();
    }
}
